package pojo;

/**
 * 出入库明细表实体类
 */
public class IoStorageDetail {
    private Long ioStorageDetailId;     //出入库明细主键Id
    private Long warehouseId;           //关联仓库Id
    private Long goodsId;               //关联商品表Id
    private Long relevanceId;           //关联出入库记录表Id
    private Long storageCount;          //出入库数量
    private Long removeStateId;         //删除状态:1_已删除,2_未删除
    private String remark;              //备注

    public IoStorageDetail(Long ioStorageDetailId, Long warehouseId, Long goodsId, Long relevanceId, Long storageCount, Long removeStateId, String remark) {
        this.ioStorageDetailId = ioStorageDetailId;
        this.warehouseId = warehouseId;
        this.goodsId = goodsId;
        this.relevanceId = relevanceId;
        this.storageCount = storageCount;
        this.removeStateId = removeStateId;
        this.remark = remark;
    }

    public IoStorageDetail() {
    }

    @Override
    public String toString() {
        return "IoStorageDetail{" +
                "ioStorageDetailId=" + ioStorageDetailId +
                ", warehouseId=" + warehouseId +
                ", goodsId=" + goodsId +
                ", relevanceId=" + relevanceId +
                ", storageCount=" + storageCount +
                ", removeStateId=" + removeStateId +
                ", remark='" + remark + '\'' +
                '}';
    }

    public Long getIoStorageDetailId() {
        return ioStorageDetailId;
    }

    public void setIoStorageDetailId(Long ioStorageDetailId) {
        this.ioStorageDetailId = ioStorageDetailId;
    }

    public Long getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(Long warehouseId) {
        this.warehouseId = warehouseId;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public Long getRelevanceId() {
        return relevanceId;
    }

    public void setRelevanceId(Long relevanceId) {
        this.relevanceId = relevanceId;
    }

    public Long getStorageCount() {
        return storageCount;
    }

    public void setStorageCount(Long storageCount) {
        this.storageCount = storageCount;
    }

    public Long getRemoveStateId() {
        return removeStateId;
    }

    public void setRemoveStateId(Long removeStateId) {
        this.removeStateId = removeStateId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
